projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ee492
)
hvmloader: Regression tests need 16MB to run. Check for this.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 6 Aug 2009 10:14:48 +0000
(11:14 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 6 Aug 2009 10:14:48 +0000
(11:14 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/firmware/hvmloader/tests.c
patch
|
blob
|
history
diff --git
a/tools/firmware/hvmloader/tests.c
b/tools/firmware/hvmloader/tests.c
index f6f2f269e5ed30bb995527be8a5f5113e135d058..da40a6672bb0c45e79d8038c56a80d85d55bc7e5 100644
(file)
--- a/
tools/firmware/hvmloader/tests.c
+++ b/
tools/firmware/hvmloader/tests.c
@@
-205,6
+205,12
@@
void perform_tests(void)
printf("Testing HVM environment:\n");
+ if ( hvm_info->low_mem_pgend < 0x1000 )
+ {
+ printf("Skipping tests due to insufficient memory (<16MB)\n");
+ return;
+ }
+
passed = skipped = 0;
for ( i = 0; tests[i].test; i++ )
{